<template>
	<view class="context" :style="'padding-top:' + statusBarHeight + 'px'">
		<image
			src="../static/image/delivery/recruit1.png"
			mode="widthFix"
			style="width: 100vw;"
		/>
		<u-icon name="arrow-left" class="arrowLeft" size="40" :style="'top:' + statusBarHeight *2 + 'px'" @tap="back"></u-icon>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				statusBarHeight: 0, // 系统导航栏
			}
		},
		onLoad() {
			this.statusBarHeight = uni.getStorageSync('statusBarHeight')
		},
		methods: {
			back() {
				uni.navigateBack({
				  delta: 1
			    });
            },
		}
	}
</script>

<style lang="scss" scoped>
.context{
	background:#f2f2f2;
	position: relative;
	.arrowLeft {
		position: absolute;
		top: 0;
		left: 20rpx;
	}
}
</style>